package com.cashmama.market.api.application.controller.config.response;

import com.cashmama.market.api.infras.handler.ResponseData;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-24 11:58
 **/
public class ConfigAppCodeResponse implements ResponseData {

    private String appCode="188";
    private String guestId="asdafa";
    private String reviewUrl="";
    private Boolean needUpdate =false;
    private Boolean forceUpdate = false;
    private String forceUpdateUrl="";
    private String forceUpdateDesc="";
    /**
     * 升级文案排版 1:居中 2:居左 3:居右
     */
    private Integer forceUpdateDescLayout=1;
    private String contactsTip="test";
    private OfflineOrderVO offlineOrder=new OfflineOrderVO();

    /**
     * gps开关 true：打开 false：关闭
     */
    private boolean gpsOpen=false;

    public boolean isGpsOpen() {
        return gpsOpen;
    }

    public ConfigAppCodeResponse setGpsOpen(boolean gpsOpen) {
        this.gpsOpen = gpsOpen;
        return this;
    }

    public OfflineOrderVO getOfflineOrder() {
        return offlineOrder;
    }

    public ConfigAppCodeResponse setOfflineOrder(OfflineOrderVO offlineOrder) {
        this.offlineOrder = offlineOrder;
        return this;
    }

    public Integer getForceUpdateDescLayout() {
        return forceUpdateDescLayout;
    }

    public ConfigAppCodeResponse setForceUpdateDescLayout(Integer forceUpdateDescLayout) {
        this.forceUpdateDescLayout = forceUpdateDescLayout;
        return this;
    }

    public String getAppCode() {
        return appCode;
    }

    public ConfigAppCodeResponse setAppCode(String appCode) {
        this.appCode = appCode;
        return this;
    }

    public String getGuestId() {
        return guestId;
    }

    public ConfigAppCodeResponse setGuestId(String guestId) {
        this.guestId = guestId;
        return this;
    }

    public String getReviewUrl() {
        return reviewUrl;
    }

    public ConfigAppCodeResponse setReviewUrl(String reviewUrl) {
        this.reviewUrl = reviewUrl;
        return this;
    }

    public Boolean getNeedUpdate() {
        return needUpdate;
    }

    public ConfigAppCodeResponse setNeedUpdate(Boolean needUpdate) {
        this.needUpdate = needUpdate;
        return this;
    }

    public Boolean getForceUpdate() {
        return forceUpdate;
    }

    public ConfigAppCodeResponse setForceUpdate(Boolean forceUpdate) {
        this.forceUpdate = forceUpdate;
        return this;
    }

    public String getForceUpdateUrl() {
        return forceUpdateUrl;
    }

    public ConfigAppCodeResponse setForceUpdateUrl(String forceUpdateUrl) {
        this.forceUpdateUrl = forceUpdateUrl;
        return this;
    }

    public String getForceUpdateDesc() {
        return forceUpdateDesc;
    }

    public ConfigAppCodeResponse setForceUpdateDesc(String forceUpdateDesc) {
        this.forceUpdateDesc = forceUpdateDesc;
        return this;
    }

    public String getContactsTip() {
        return contactsTip;
    }

    public ConfigAppCodeResponse setContactsTip(String contactsTip) {
        this.contactsTip = contactsTip;
        return this;
    }
}
